<template>
    <div class="tag">
        <el-tag v-for="tag in getTags" class="tag-class" :key="tag.title"
                :closable="tag.meta.key !== 'Index'"
                @close="close(tag)"
                @click="checked(tag)"
                size="small"
                :class="{'el-tag--dark': tag.meta.key === getChecked}"
                :disable-transitions="true">
            {{tag.meta.title}}
        </el-tag>
    </div>
</template>

<script src="./Tag.js"/>
<style scoped lang="less" src="./Tag.less"/>
